package club.caihappy.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by DELL on 2021/11/11
 **/
@Controller
public class ViewTestController {
    @GetMapping("/atguigu")
    public String atguigu(Model model) {
        model.addAttribute("msg", "hello world");
        model.addAttribute("link", "http://www.baidu.com");
        return "success";
    }
}
